package com.chushouya.product.dto.admin.evaluateitem;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 估价项目和项目选项组合信息DTO
 */
@Data
@ApiModel(value = "估价项目和项目选项组合信息DTO")
public class EvaluateItemCombineDTO {

    @ApiModelProperty(value = "估价项目ID")
    private Long evaluateItemId;

    @ApiModelProperty(value = "估价项目名称")
    private String itemName;

    @ApiModelProperty(value = "项目选项列表")
    private List<EvaluateValueInfo> evaluateValueList;

    /**
     * 估价项目选项信息
     */
    @Data
    @ApiModel(value = "估价项目选项信息")
    public static class EvaluateValueInfo {

        @ApiModelProperty(value = "项目选项ID")
        private Long evaluateValueId;

        @ApiModelProperty(value = "项目选项内容")
        private String valueContent;
    }
}
